# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         less2_01
# Description:
# Author:       asus
# Date:         2019/3/23
#-------------------------------------------------------------------------------


# 异常捕获中的else语句
# 没有异常的时候会才会执行else代码块
a = 10
b = 3
c = 0

try:
    c = a / b
except Exception as e:
    print(e)
else:
    print('else部分')
    print(c)


def div(a,b):
    try:
        c = a / b
    except Exception as e:
        print(e)
    else:
